package com.sdsy.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.sdsy.dao.VipWalletAddrDao;
import com.sdsy.domain.VipWalletAddrDO;
import com.sdsy.service.VipWalletAddrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 会员钱包地址管理(VipWalletAddr)表服务实现类
 *
 * @author yxc
 * @since 2018-09-04 11:58:03
 */
@Service
public class VipWalletAddrServiceImpl extends ServiceImpl<VipWalletAddrDao, VipWalletAddrDO> implements VipWalletAddrService {

    @Autowired
    private VipWalletAddrDao vipWalletAddrDao;

    @Override
    public List<VipWalletAddrDO> selectWalletByStatus() {
        List<VipWalletAddrDO> list = vipWalletAddrDao.selectWalletByStatus();
        return list;
    }

    @Override
    public List<String> selectAddress() {
        List<String> list = vipWalletAddrDao.selectAddress();
        return list;
    }
}